.class Limoblife/applist/AppListActivity$ListViewItem$1$1;
.super Ljava/lang/Object;
.source "AppListActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/applist/AppListActivity$ListViewItem$1;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

.field private final synthetic val$item:Limoblife/applist/AppListActivity$Item;


# direct methods
.method constructor <init>(Limoblife/applist/AppListActivity$ListViewItem$1;Limoblife/applist/AppListActivity$Item;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

    iput-object p2, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->val$item:Limoblife/applist/AppListActivity$Item;

    .line 530
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 5
    .parameter "dialog"
    .parameter "which"

    .prologue
    const-string v4, "android.intent.action.VIEW"

    .line 532
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

    #getter for: Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem$1;->access$0(Limoblife/applist/AppListActivity$ListViewItem$1;)Limoblife/applist/AppListActivity$ListViewItem;

    move-result-object v0

    iget-object v0, v0, Limoblife/applist/AppListActivity$ListViewItem;->itemId:[I

    aget v0, v0, p2

    packed-switch v0, :pswitch_data_0

    .line 546
    :goto_0
    return-void

    .line 534
    :pswitch_0
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

    #getter for: Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem$1;->access$0(Limoblife/applist/AppListActivity$ListViewItem$1;)Limoblife/applist/AppListActivity$ListViewItem;

    move-result-object v0

    #getter for: Limoblife/applist/AppListActivity$ListViewItem;->context:Landroid/content/Context;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem;->access$1(Limoblife/applist/AppListActivity$ListViewItem;)Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    iget-object v2, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->val$item:Limoblife/applist/AppListActivity$Item;

    iget-object v2, v2, Limoblife/applist/AppListActivity$Item;->homeLink:Ljava/lang/String;

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v1, v4, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 537
    :pswitch_1
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

    #getter for: Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem$1;->access$0(Limoblife/applist/AppListActivity$ListViewItem$1;)Limoblife/applist/AppListActivity$ListViewItem;

    move-result-object v0

    #getter for: Limoblife/applist/AppListActivity$ListViewItem;->context:Landroid/content/Context;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem;->access$1(Limoblife/applist/AppListActivity$ListViewItem;)Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "http://market.android.com/search?q=pname:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->val$item:Limoblife/applist/AppListActivity$Item;

    iget-object v3, v3, Limoblife/applist/AppListActivity$Item;->packageName:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v1, v4, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 540
    :pswitch_2
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

    #getter for: Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem$1;->access$0(Limoblife/applist/AppListActivity$ListViewItem$1;)Limoblife/applist/AppListActivity$ListViewItem;

    move-result-object v0

    #getter for: Limoblife/applist/AppListActivity$ListViewItem;->context:Landroid/content/Context;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem;->access$1(Limoblife/applist/AppListActivity$ListViewItem;)Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    iget-object v2, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->val$item:Limoblife/applist/AppListActivity$Item;

    iget-object v2, v2, Limoblife/applist/AppListActivity$Item;->trialDownLink:Ljava/lang/String;

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v1, v4, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 543
    :pswitch_3
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->this$2:Limoblife/applist/AppListActivity$ListViewItem$1;

    #getter for: Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem$1;->access$0(Limoblife/applist/AppListActivity$ListViewItem$1;)Limoblife/applist/AppListActivity$ListViewItem;

    move-result-object v0

    #getter for: Limoblife/applist/AppListActivity$ListViewItem;->context:Landroid/content/Context;
    invoke-static {v0}, Limoblife/applist/AppListActivity$ListViewItem;->access$1(Limoblife/applist/AppListActivity$ListViewItem;)Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    iget-object v2, p0, Limoblife/applist/AppListActivity$ListViewItem$1$1;->val$item:Limoblife/applist/AppListActivity$Item;

    iget-object v2, v2, Limoblife/applist/AppListActivity$Item;->genuineDownLink:Ljava/lang/String;

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v1, v4, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 532
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
